package com.baizhi.util;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Bto {
    private int tId;
    private String  tTitleName;
    @DateTimeFormat(pattern = "yyyy-mm-dd")
    private Date tStopTime;
    private int oNd;
    private String oName;
    private String oName2;
    private String oName3;
    private int OtitleId;

    public String getoName2() {
        return oName2;
    }

    public void setoName2(String oName2) {
        this.oName2 = oName2;
    }

    public String getoName3() {
        return oName3;
    }

    public void setoName3(String oName3) {
        this.oName3 = oName3;
    }

    @Override
    public String toString() {
        return "Bto{" +
                "tId=" + tId +
                ", tTitleName='" + tTitleName + '\'' +
                ", tStopTime=" + tStopTime +
                ", oNd=" + oNd +
                ", oName='" + oName + '\'' +
                ", OtitleId=" + OtitleId +
                '}';
    }

    public Bto() {
    }

    public Bto(int tId, String tTitleName, Date tStopTime, int oNd, String oName, String oName2, String oName3, int otitleId) {
        this.tId = tId;
        this.tTitleName = tTitleName;
        this.tStopTime = tStopTime;
        this.oNd = oNd;
        this.oName = oName;
        this.oName2 = oName2;
        this.oName3 = oName3;
        OtitleId = otitleId;
    }

    public int gettId() {
        return tId;
    }

    public void settId(int tId) {
        this.tId = tId;
    }

    public String gettTitleName() {
        return tTitleName;
    }

    public void settTitleName(String tTitleName) {
        this.tTitleName = tTitleName;
    }

    public Date gettStopTime() {
        return tStopTime;
    }

    public void settStopTime(Date tStopTime) {
        this.tStopTime = tStopTime;
    }

    public int getoNd() {
        return oNd;
    }

    public void setoNd(int oNd) {
        this.oNd = oNd;
    }

    public String getoName() {
        return oName;
    }

    public void setoName(String oName) {
        this.oName = oName;
    }

    public int getOtitleId() {
        return OtitleId;
    }

    public void setOtitleId(int otitleId) {
        OtitleId = otitleId;
    }
}
